package com.common.dao;

import java.io.Serializable;
import java.util.List;

import com.entity.UserEntity;

/**
 * 描述：
 * @author：<a href="mailto:beier.zheng@yeepay.com">郑贝尔</a>
 * @since：Nov 19, 2012 6:30:46 PM
 * @version:1.0
 */
public abstract interface BaseDao<T,PK extends Serializable> {

	public int save(String key,T t);
	public int deleteById(String key,PK id); 
	public int deleteByObject(String key,T t);
	public  T get(String key,T t);
	public  List<T> getList(String key);
	public  List<T> getList(String key,T t);

}
